<div class="ordenes form">
<?php echo $this->Form->create('Ordene');?>
	<fieldset>
	 		<legend><?php __('Editar Orden'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('nu_orden', array('label'=>'Numero de Orden:'));
		echo $this->Form->input('solpa', array('label'=>'Numero de SOLPA:'));
		echo $this->Form->input('nu_aceptacion_sap',array('label'=>'Numero de aceptacion SAP:'));
		echo $this->Form->input('fl_libera',array('label'=>'Fecha de Liberacion:', 'readonly' => 'readonly'));
		echo $this->Ajax->datepicker('OrdeneFlLibera', array(
													'dateFormat' => 'dd/mm/yy',
													'changeYear' => true,
													'changeMonth' => true,
												));
		echo $this->Form->input('proyecto_id');
	?>
	</fieldset>

	<?php echo $this->Form->submit(__('Editar', true), array('div'=>false, 'name'=>'submit'));?>
<?php echo $this->Form->submit('Cancelar', array('div'=>false, 'name'=>'cancelar')); ?>
<?php echo $this->Form->end();?>

<br>
</div>
<div class="actions">
	<h3><?php __('Acciones'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Borrar', true), array('action' => 'delete', $this->Form->value('Ordene.id')), null, sprintf(__('Esta seguro de borrar a %s?', true), $this->Form->value('Ordene.id'))); ?></li>
		<li><?php echo $this->Html->link(__('Lista de Ordenes', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Lista de Proyectos', true), array('controller' => 'proyectos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Agregar Proyecto', true), array('controller' => 'proyectos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Lista de Servicios realizados', true), array('controller' => 'servordenes', 'action' => 'index')); ?> </li>
	</ul>
</div>